
package com.tencent.wuyanzu.dao;

import java.util.List;

import org.hibernate.Session;

public interface BaseDao {
	
	public Session getSession();

	public Session getNewSession();
	
	public void flush();

	public void clear() ;
	
	public List getAllValues(Class clazz);
	
	public List getListByKeyValue(String key,Object value,Class clazz);
	
	public void save(Object bean) ;

}
